package ModelLag;

public abstract class Person 
{
	private String navn;
	private String addresse;
	private String tlfNr;
	private int postNr;
	private String by;
	private int pId;
	
	
	public Person()
	{
		
	}


	public String getNavn() 
	{
		return navn;
	}


	public void setNavn(String navn) 
	{
		this.navn = navn;
	}


	public String getAddresse()
	{
		return addresse;
	}


	public void setAddresse(String addresse) 
	{
		this.addresse = addresse;
	}


	public String getTlfNr()
	{
		return tlfNr;
	}


	public void setTlfNr(String tlfNr) 
	{
		this.tlfNr = tlfNr;
	}


	public int getPostNr() 
	{
		return postNr;
	}


	public void setPostNr(int postNr) 
	{
		this.postNr = postNr;
	}


	public String getBy() 
	{
		return by;
	}


	public void setBy(String by) 
	{
		this.by = by;
	}


	public int getpId() 
	{
		return pId;
	}


	public void setpId(int pId) 
	{
		this.pId = pId;
	}
	
	public abstract boolean isTvang();
	public abstract void setTvang(boolean tvang);
	public abstract boolean isUdgang();
	public abstract void setUdgang(boolean udgang);
	public abstract boolean isVoldsrisiko();
	public abstract void setVoldsrisiko(boolean voldsrisiko);
	public abstract boolean isSelvmordsrisiko();
	public abstract void setSelvmordsrisiko(boolean selvmordsrisiko);
	public abstract String getStilling();
	public abstract void setStilling(String stilling);
	

}
